package com.gxuwz.common;

import java.util.List;

/**
 * Created by h on 2017/12/3.
 */
public interface ICrud<T> {

    T save(T t);

    void delete(String id);

    T update(T t);

    T findOne(String id);

    List<T> findAll();
}
